html,
body {
  width: 100%;
  height: 100%;
}
#header > .inner,
#banner > .inner,
#footer > .inner,
#nav .inner {
  width: 1200px;
  margin: 0 auto;
}
/*头部------------------------------------------------------------*/
#header {
  background: #f2f2f2;
  height: 25px;
  padding-top: 5px;
  border-bottom: 1px solid #dadada;
  margin-bottom: 30px;
}
#header .inner p a {
  float: left;
}
#header .inner ul {
  float: right;
  margin-right: 30px;
  position: relative;
}
#header .inner > ul > li {
  float: left;
  text-align: center;
  padding: 4px 0;
  height: 20px;
  line-height: 12px;
}
#header .inner ul li a {
  float: left;
  padding: 0 10px;
  border-left: 2px solid #666666;
}
#header .inner ul li div {
  width: 12px;
  height: 12px;
  margin-right: 5px;
  display: inline-block;
  background: url("../images/index/icon01.png") no-repeat center;
  background-position: -26px -151px;
}
/*注册得好礼  标志*/
#header .inner .reg_tip {
  width: 158px;
  height: 12px;
  background: #6b4185;
  border-radius: 5px;
  position: absolute;
  top: 20px;
  left: 50px;
  color: #ffffff;
  padding: 9px 0;
  display: block;
  line-height: 12px;
  text-align: center;
}
#header .inner .reg_sharp {
  width: 0;
  height: 0;
  border-bottom: 5px solid #6b4185;
  border-top: 5px solid transparent;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  position: absolute;
  top: -10px;
  left: 12px;
}
#header .inner .reg_close {
  color: #ffffff;
  display: inline-block;
  font-size: 14px;
}
#header .inner .reg_close:hover {
  color: red;
  text-decoration: none;
}
/*banner-----------------------------------------------------------------------*/
#banner {
  height: 87px;
}
.logo {
  float: left;
  width: 280px;
  height: 40px;
  background: url("../images/index/logo.png") no-repeat center;
}
.promo {
  float: left;
  background: url("../images/index/promo.gif") no-repeat center;
  width: 120px;
  height: 100px;
  margin-top: -20px;
  margin-left: 20px;
}
/*搜索框*/
.banner_search {
  float: right;
}
.banner_search input:nth-child(1) {
  width: 310px;
  height: 34px;
  outline: none;
  border: 1px solid #6b4185;
  float: left;
}
.banner_search input:nth-child(2) {
  height: 38px;
  float: right;
  width: 80px;
  outline: none;
  border: 0;
  background: #6b4185;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}
.banner_search p {
  margin-top: 5px;
}
.banner_search p a {
  padding-right: 4px;
}
/*购物车*/
.cart {
  position: relative;
  float: right;
  margin: 0 40px 0 70px ;
}
.cart > a {
  display: block;
  border-radius: 3px;
  width: 168px;
  height: 38px;
  font-size: 14px;
  font-weight: bold;
  background: #f2f2f2;
  line-height: 38px;
  border: 1px solid #dadada;
}
.cart:hover,
.cart:hover a {
  color: red;
  opacity: 0.8;
}
.cart > a > span {
  float: left;
}
.cart > a > span:nth-child(1) {
  background: url("../images/index/cart.jpg") no-repeat center;
  width: 31px;
  height: 26px;
  margin: 6px 15px;
}
.cart > a > span:nth-child(3) {
  float: right;
  background: url("../images/index/cart-arrows.png") no-repeat center;
  width: 9px;
  height: 14px;
  margin: 12px 10px;
}
.cart_count {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e34755;
  color: #fff;
  position: absolute;
  right: 22px;
  top: -4px;
  line-height: 20px;
  text-align: center;
}
/*导航----------------------------------------------------------------------------*/
#nav {
  width: 100%;
  height: 30px;
  background: #333333;
}
.kind,
.navigation {
  float: left;
  color: #fff;
  line-height: 30px;
}
/*导航栏  右边一排标签*/
.navigation a {
  float: left;
  color: #fff;
  margin: 0 28px;
  font-size: 16px;
}
.navigation a:hover {
  color: #d8d8d8;
  text-decoration: none;
}
/*商品种类选择*/
.kind {
  width: 220px;
}
/*分标题 p标签*/
.kind_title {
  text-align: center;
  background: #654579;
  font-size: 16px;
}
/*全部种类*/
.all_kind {
  background: #e8e3eb;
  color: #666666;
  position: absolute;
  z-index: 10;
}
.all_kind > dl {
  height: 100px;
  padding: 20px 20px 0 20px;
}
/*dt*/
.all_kind > dl dt {
  height: 42px;
}
.all_kind > dl > dt > span {
  float: left;
}
.nav_icon {
  display: inline-block;
  background: url("../images/index/nav-2-1.png") no-repeat center;
  width: 18px;
  height: 22px;
  margin: 5px 5px 0 0 ;
}
.all_kind dl:nth-child(2) dt .nav_icon {
  background: url("../images/index/nav-2-2.png") no-repeat center;
}
.all_kind dl:nth-child(3) dt .nav_icon {
  background: url("../images/index/nav-2-3.png") no-repeat center;
}
.all_kind dl:nth-child(4) dt .nav_icon {
  background: url("../images/index/nav-2-4.png") no-repeat center;
}
/*dd*/
.all_kind dl dd:nth-child(2) {
  width: 180px;
  padding-bottom: 12px;
  border-bottom: 1px dotted #cccccc;
  height: 45px;
}
.kind_son {
  width: 168px;
  height: 44px;
  float: left;
}
.kind_son a {
  float: left;
  height: 22px;
  padding-right: 6px;
  line-height: 22px;
}
/*小三角*/
.icon_arrows_nav {
  float: right;
}
/*二级导航*/
.sub-nav {
  position: absolute;
  width: 600px;
  left: 220px;
  top: 0;
  border: 1px solid #000;
  padding: 20px 40px 15px;
  background: #ffffff;
}
/*二级导航上部分图片*/
.sub-nav-header {
  overflow: hidden;
  padding-bottom: 40px;
}
.sub-nav-header > p {
  font-size: 14px;
  font-weight: bold;
  line-height: 40px;
}
.sub-nav-header-img {
  width: 140px;
  height: 70px;
  margin-left: 10px;
  background-image: url("../images/index/nav-01.jpg");
  float: left;
}
/*二级导航下部分左边文字*/
.sub-nav-left {
  float: left;
}
.sub-nav-left-1 {
  overflow: hidden;
  margin-bottom: 20px;
}
.sub-nav-left-title {
  float: left;
  width: 80px;
  height: 22px;
  line-height: 22px;
  font-weight: bold;
}
.sub-nav-left-1 > div {
  float: right;
  width: 208px;
  line-height: 22px;
  overflow: hidden;
}
.sub-nav-left-1 > div > a {
  margin-right: 20px;
  white-space: nowrap;
  float: left;
  cursor: pointer;
}
/*二级导航下部分右边图片*/
.sub-nav-right {
  float: right;
  width: 293px;
  height: 270px;
}
.sub-nav-right > a {
  display: block;
  width: 293px;
  height: 270px;
  background-image: url("../images/index/nav-big-3.jpg");
}
/*脚部...........................................................*/
#footer {
  width: 100%;
  height: 390px;
}
/*保证栏..............................*/
.promise {
  height: 79px;
  border-top: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  box-shadow: 0 2px 2px #e0e0e0;
  padding-left: 150px;
}
.promise ul li {
  font-size: 14px;
  float: left;
  line-height: 79px;
  padding-left: 130px;
  text-align: center;
  display: inline-flex;
  align-items: center;
}
.promise ul li:nth-child(1) {
  padding: 0px;
}
.promise ul li span {
  display: inline-block;
  background: url("../images/index/foot-icon-1.png") no-repeat;
  width: 30px;
  height: 30px;
  margin-right: 5px;
}
.promise ul li:nth-child(1) span {
  background: url("../images/index/arrows.png") no-repeat center;
  background-position: -2px -135px;
  width: 22px;
  height: 42px;
  margin-left: 50px;
}
.promise ul li:nth-child(2) span {
  background-position: 0px 0;
}
.promise ul li:nth-child(3) span {
  background-position: -36px 0;
}
.promise ul li:nth-child(4) span {
  background-position: -73px 0;
}
/*投资人栏.................................*/
.investor {
  height: 80px;
  border-bottom: 1px solid #cccccc;
  padding: 20px 0 40px 42px ;
}
.investor dt {
  font-size: 18px;
  line-height: 42px;
}
.investor dd {
  text-indent: 20px;
}
.investor_left {
  float: left;
  width: 660px;
}
.investor_right {
  float: left;
  width: 450px;
}
/*copyright............................*/
/*第一部分*/
.copyright ul {
  text-align: center;
  padding: 23px 0;
  margin: auto;
  width: 600px;
  height: 12px;
}
.copyright ul li {
  float: left;
}
.copyright ul li a {
  float: left;
  padding: 0 8px;
  border-left: 1px solid #669dcf;
  border-right: 1px solid #cf9d66;
  line-height: 12px;
}
/*第二部分*/
.copyright div {
  width: 550px;
  margin: 0 auto;
  height: 70px;
  line-height: 40px;
}
.copyright div span,
.copyright div a {
  float: left;
  margin: 0 2px;
}
/*第三部分*/
.copyright p {
  text-align: center;
}
/* 侧边栏--------------------------------------------------*/
.sidebar {
  width: 40px;
  height: 100%;
  background: #333333;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10;
}
.sidebar_line {
  width: 22px;
  height: 1px;
  background: #515151;
  margin: 0 0 14px 9px;
}
/*我的购物车================*/
.sidebar_intro {
  color: #ffffff;
}
.mycart {
  display: block;
  height: 126px;
  margin: 110px 0 22px;
  padding-bottom: 10px;
}
.mycart > i {
  display: block;
  width: 26px;
  height: 26px;
  background: url("../images/index/sidebar-1.png") no-repeat;
  background-position: -33px 0;
  margin-left: 7px;
}
.mycart > p:nth-child(3) {
  text-align: center;
  width: 20px;
  color: #ffffff;
  margin: 9px 10px;
  line-height: 16px;
}
.mycart > span {
  display: block;
  width: 20px;
  height: 20px;
  margin-left: 10px;
  background: #e14958;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 20px;
}
/*我的优惠券*/
.sidebar_coupon {
  height: 14px;
  padding: 14px;
  position: relative;
  cursor: pointer;
}
.sidebar_coupon > i {
  display: block;
  width: 12px;
  height: 14px;
  background: url("../images/index/sidebar-1.png") no-repeat;
  background-position: -8px -9px;
}
.sidebar_coupon > div {
  display: none;
}
.sidebar_coupon > div > b {
  right: -10px;
  top: 16px;
  border-left: 5px solid #666666;
}
/*我的收藏*/
.sidebar_collect {
  height: 18px;
  padding: 14px 10px;
  position: relative;
  cursor: pointer;
}
.sidebar_collect > i {
  display: block;
  width: 20px;
  height: 18px;
  background: url("../images/index/sidebar-1.png") no-repeat;
  background-position: -72px -7px;
}
.sidebar_collect div {
  height: 46px;
  display: none;
}
.sidebar_collect div > b {
  right: -10px;
  top: 18px;
  border-left: 5px solid #666666;
}
/*二维码*/
.quickmark {
  width: 22px;
  height: 22px;
  background: url("../images/index/quickmark-1.png") no-repeat center;
  position: absolute;
  bottom: 58px;
  right: 9px;
}
.quickmark_big {
  width: 110px;
  height: 140px;
  position: absolute;
  background: #ffffff;
  right: 31px;
  bottom: -10px;
  z-index: 11;
  border: 1px solid #e5e5e5;
}
.quickmark_big > p {
  text-align: center;
  color: #666666;
}
.quickmark_big > div {
  width: 90px;
  height: 90px;
  background: url("../images/index/quickmark-2.png") no-repeat center;
  background-size: cover;
  margin: 10px;
}
.quickmark_big > b {
  right: -10px;
  bottom: 15px;
}
/*小三角*/
.triangle {
  width: 0;
  height: 0;
  z-index: 11;
  border-bottom: 5px solid transparent;
  border-top: 5px solid transparent;
  border-right: 5px solid transparent;
  border-left: 5px solid #ffffff;
  position: absolute;
}
/*隐藏的优惠券和收藏*/
.my_hidden {
  width: 100px;
  height: 42px;
  background: #666;
  text-align: center;
  line-height: 42px;
  position: absolute;
  right: 40px;
  top: 0;
}
.mycart:hover,
.sidebar_coupon:hover,
.sidebar_collect:hover {
  background: #e14958;
}
/*回到顶部*/
.gotop > div {
  width: 0;
  height: 0;
  z-index: 11;
  border-bottom: 5px solid #ffffff;
  border-top: 5px solid transparent;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  position: absolute;
  left: 15px;
  top: 10px;
}
.gotop {
  display: none;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  line-height: 60px;
  height: 40px;
  text-align: center;
  color: #ffffff !important;
}
.gotop:hover,
.gotop:active,
.gotop:focus {
  color: #ffffff;
  text-decoration: none;
}
